package com.yswee.mallnavi.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.yswee.framework.utils.OSUtils;
import com.yswee.mallnavi.activity.MainActivity;

public class NotifyReceiver extends BroadcastReceiver {
	
	public static final String ACTION_MOVETOFRONT = "com.yswee.mallnavi.ACTION_MOVETOFRONT";

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();
		if (ACTION_MOVETOFRONT.equals(action)) {
			OSUtils.moveTaskToFront(MainActivity.class);
		}
	}

}